1. Location:
Is an image in a Windows window. Its main function is to direct the current webpage to anotherHref is a property of a Web page. It can be used to direct another web page and refresh the page.
2.
A href = "#"> after clicking the link,
If you do not set the href property below IE6, you will not respond to hover. Double-clicking will select the label's parent container instead of the one-a label (this problem exists under IE).
The code is as follows
Copy Code
href= "javascript:;" > a > href= "#">a>These two kinds of wording. What is the difference between these two types of writing? What kind of writing is more standard?href= "#" refers to the connection to the current page, in fact, is meaningless,
Original: href and onclick usages, distinctions, precedence levels in Html a tagsIf you do not set the href attribute under IE6, hover will not respond. When you double-click the label's parent container is selected instead of the one-a-label (the
A href = "javascript:" With a href = "#",
These two methods. What are the differences between the two statements? Which one is used to write more standards?
Connecting href = "#" means connecting to the current page is meaningless, and the page
click the link, the page will scroll up to the top of the page, # The default anchor point is #TOP Click the link, the page does not move, only the link is opened function as above, different browsers will have differences.Click the link, do not
[JavaScript] obtain the URL of the current page and window. location. href, window. location. href
Using Javascript to get the URL of the current page seems complicated. If you think about the problem for the first time, many people may wonder which
Reprint: http://blog.csdn.net/u010552788/article/details/49385487Javascript:void (0) means to do nothing! He is not a page URL, but a JavaScript statement void (0), Void is an operator that specifies to evaluate an expression but does not return a
As we all know, the most important function of a label is to implement hyperlinks and anchor points. Also, most people think that the most important role of a tag is to implement hyperlinks, and today I happen to be writing a label , so let's sort
First, let's take a look at several location types. the differences between href and href are as follows. differences between href and js implement the iframe framework function of a webpage. If you are interested, please take a look at the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.